summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/(system)/menu-access/page.tsx
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-12-03 18:39:08 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-12-03 18:39:08 +0900
commitbf3a801245a0be1d9001ee106e48cbf8b4bc73df (patch)
tree2608770bedc66c8cc5baed98306486d7dac6a6d4 /app/[lng]/evcp/(evcp)/(system)/menu-access/page.tsx
parent2f02e9ea125c3ec42afac84ec903767930335dd3 (diff)
(임수민) 페이지 타이틀과 메뉴명 일치 작업
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(system)/menu-access/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/(system)/menu-access/page.tsx10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/(system)/menu-access/page.tsx b/app/[lng]/evcp/(evcp)/(system)/menu-access/page.tsx
index 7f5228df..4fa712f1 100644
--- a/app/[lng]/evcp/(evcp)/(system)/menu-access/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(system)/menu-access/page.tsx
@@ -8,11 +8,15 @@ import { searchParamsUsersCache } from "@/lib/admin-users/validations"
import { getUsersNotPartners } from "@/lib/users/service";
import { UserAccessControlTable } from "@/lib/users/access-control/users-table";
import { InformationButton } from "@/components/information/information-button";
+import { useTranslation } from "@/i18n";
interface IndexPageProps {
+ params: Promise<{ lng: string }>
searchParams: Promise<SearchParams>;
}
export default async function IndexPage(props: IndexPageProps) {
+ const { lng } = await props.params
+ const { t } = await useTranslation(lng, 'menu')
const searchParams = await props.searchParams;
const search = searchParamsUsersCache.parse(searchParams);
const validFilters = getValidFilters(search.filters);
@@ -29,7 +33,9 @@ export default async function IndexPage(props: IndexPageProps) {
<div className="flex items-center justify-between space-y-2">
<div>
<div className="flex items-center gap-2">
- <h2 className="text-2xl font-bold tracking-tight">메뉴 접근제어 관리</h2>
+ <h2 className="text-2xl font-bold tracking-tight">
+ {t('menu.information_system.menu_access')}
+ </h2>
<InformationButton pagePath="evcp/menu-access" />
</div>
{/* <p className="text-muted-foreground">
@@ -53,4 +59,4 @@ export default async function IndexPage(props: IndexPageProps) {
</React.Suspense>
</Shell>
);
-} \ No newline at end of file
+}